
SUBDIRS = dev boot/x86 arch/x86 kern klibc bus

all: alldirs

alldirs:
	@for i in $(SUBDIRS); do \
	echo "making all in $$i"; \
	(cd $$i; $(MAKE) all); done

clean:
	@for i in $(SUBDIRS); do \
	echo "cleaning $$i"; \
	(cd $$i; $(MAKE) clean); done
